<?php
namespace App\Http\Controllers\Admin;
use App\Models\Member;
/**
 * TestGuest Version1.0
 * ================================================
 * Copy 2017-2018 zxj
 * Web: http://www.zhaoxiaojie.club
 * ================================================
 * Author: Zxj
 * Date: 17/9/5
 * Time: 上午9:18
 *
 * 后台会员管理控制器
 *
 */
class MemberController extends BaseController
{
    public function __construct(Member $member)
    {
        parent::__construct();
        $this->member = $member; // 注入充值模型
    }


    // 会员列表页
    public function getIndex()
    {
        $flag = 'member';
        $data = $this->member->getMemberList(request());   //充值订单数据
        //dd($data);
        return view('admin.member.member_list', compact('flag', 'data'));
    }

    //

}
?>